import request from '@/utils/request'

// 配置
export function getConfig() {
    return request.get({ url: '/config/getConfig' })
}

// 工作台主页
export function getWorkbench() {
    return request.get({ url: '/workbench/index' })
}

//字典数据
export function getDictData(params: any) {
    return request.get({ url: '/config/dict', params })
}
//字典数据
export function statistics(params: any) {
    return request.get({ url: '/common/statistics', params })
}


// 产品列表列表
export function apiProductLists(params: any) {
    return request.get({ url: '/store.company.product/lists', params })
}

// 预订订单列表
export function apiPreOrderLists(params: any) {
    return request.get({ url: '/orders.pre_order/lists', params })
}


// 展会管理列表
export function apiExhibitionManagerLists(params: any) {
    return request.get({ url: '/exhibition_manager.exhibition_manager/lists', params })
}
// 场馆列表列表
export function apiExhibitionVenueLists(params: any) {
    return request.get({ url: '/exhibition.exhibition_venue/lists', params })
}
// 场馆列表详情
export function apiExhibitionVenueDetail(params: any) {
    return request.get({ url: '/exhibition.exhibition_venue/detail', params })
}

// 分类列表
export function apiCategoryLists(params: any) {
    return request.get({ url: '/store.category.category/lists', params })
}

// 展商列表详情
export function apiExhibitorManagerDetail(params: any) {
    return request.get({ url: '/exhibition.exhibitor_manager/detail', params })
}
// 公司资质列表
export function apiCompanyQualificationLists(params: any) {
    return request.get({ url: '/store.company.company_qualification/lists', params })
}

// 预览
export function boothPreviewApi(params: any) {
    return request.get({ url: '/exhibition.exhibition_venue/boothPreview', params })
}



// 展会+场地+场馆
export function getExhibitorBaseInfoApi(params: any) {
    return request.post({ url: '/exhibition_manager.exhibition_manager/getExhibitorBaseInfo', params })
}
